<layout name="Public/base" />
<div class="row">
	<include file="Manage/left" />
	<div class="span9">
		<div class="page-main">
			<include file="Manage/appInfo" />
			<div class="title"><h2>{$mini_title} ({$__TOTAL__})</h2></div>
			<div class="content">
				<div class="fast-action">
					<a class="btn btn-large btn-success ajax-get" href="{:U('subscribe_list?appid='.$_GET['appid'])}"><i class="icon-picassa"></i>刷新用户列表</a>
				</div>
				<table class="border striped">
					<thead>
						<tr>
							<th>用户昵称</th>
							<th class="center">关注时间</th>
							<th width="60" class="center">操作</th>
						</tr>
					</thead>
					<tbody>
						<empty name="__LIST__">
						<tr>
							<td colspan="5" class="center">还没有用户关注您的公众号！</td>
						</tr>
						<else/>
						<volist name="__LIST__" id="vo">
						<tr>
							<td><img width="30" src="{$vo.headimgurl|substr=0,-1}46" /> {$vo.nickname}</td>
							<td class="center">{$vo.subscribe_time|time_format}</td>
							<td class="center">
								<a class="btn btn-success ajax-get" href="{:U('refresh?appid='.$_GET['appid'].'&uid='.$vo['id'])}">刷新</a>
							</td>
						</tr>
						</volist>
						</empty>
					</tbody>
				</table>
				<div class='pagination'>
					{$__PAGE__}
				</div>
			</div>
		</div>
	</div>
</div>